package com.xu.mall.user.orgunit.model;

import java.io.Serializable;

import com.xu.mall.base.tree.entity.BaseTreeEntity;

public class OrgUnitType extends BaseTreeEntity implements Serializable {
	private static final long serialVersionUID = -5421354694594701090L;
	private static final String CODE_HEAD = "ORG_TYPE_";

	@Override
	public void setCode(String code) {
		super.code = code.startsWith(CODE_HEAD) ? code : CODE_HEAD + code;
	}

}
